package com.situ.day6;

import org.junit.Test;

public class StaticDemo {
	public static void main(String[] args) {
		//test1();
	}
	
	@Test
	public void test1() {
		System.out.println(Student.country);
		Student.print();
		Student student = new Student();
		//被所有对象所共享
		System.out.println(student.country);
		student.print();
	}
	
	@Test
	public void test2() {
		Teacher teacher1 = new Teacher();
		Teacher teacher2 = new Teacher();
		
		int max = Math.max(3, 5);
		System.out.println(max);
		System.out.println(MyMath.max(3, 5));
	}
	
	
	
	
}
